package com.goldze.mvvmhabit.bean;

import java.util.List;

public class ClassBean {
    /**
     * success : true
     * message : success
     * code : 200
     * timestamp : 1618761291103
     * result : [{"id":"1382563085302239232","createBy":"admin","createTime":"2021-04-15 13:15:00","updateBy":"admin","updateTime":"2021-04-15 13:15:10","delFlag":0,"name":"一班"},{"id":"1382574995175247872","createBy":"admin","createTime":"2021-04-15 14:02:20","updateBy":null,"updateTime":null,"delFlag":0,"name":"二班"},{"id":"1382575014376771584","createBy":"admin","createTime":"2021-04-15 14:02:25","updateBy":null,"updateTime":null,"delFlag":0,"name":"三班"},{"id":"1382575033007869952","createBy":"admin","createTime":"2021-04-15 14:02:29","updateBy":null,"updateTime":null,"delFlag":0,"name":"四班"},{"id":"1382575066679742464","createBy":"admin","createTime":"2021-04-15 14:02:37","updateBy":null,"updateTime":null,"delFlag":0,"name":"五班"}]
     */

    private boolean success;
    private String message;
    private int code;
    private long timestamp;
    private List<ResultBean> result;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * id : 1382563085302239232
         * createBy : admin
         * createTime : 2021-04-15 13:15:00
         * updateBy : admin
         * updateTime : 2021-04-15 13:15:10
         * delFlag : 0
         * name : 一班
         */

        private String id;
        private String createBy;
        private String createTime;
        private String updateBy;
        private String updateTime;
        private int delFlag;
        private String name;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCreateBy() {
            return createBy;
        }

        public void setCreateBy(String createBy) {
            this.createBy = createBy;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateBy() {
            return updateBy;
        }

        public void setUpdateBy(String updateBy) {
            this.updateBy = updateBy;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getDelFlag() {
            return delFlag;
        }

        public void setDelFlag(int delFlag) {
            this.delFlag = delFlag;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
